<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style> 
        p.test1
        {
        width:11em; 
        border:1px solid #000000;
        word-break:normal;
        }
        
        p.test2
        {
        width:11em; 
        border:1px solid #000000;
        word-break:break-all;
        }
        p.test3
        {
        width:11em; 
        border:1px solid #000000;
        word-break:keep-all;
        }
        </style>
</head>
<body>
    <!-- word-break -->
    <!-- normal	    使用浏览器默认的换行规则。
         break-all	允许在单词内换行。
         keep-all	只能在半角空格或连字符处换行。 -->
    
         <p class="test1">This is a veryveryveryveryveryveryveryveryveryvery long paragraph.</p>
         <p class="test2">This is a veryveryveryveryveryveryveryveryveryvery long paragraph.</p>
         <p class="test3">This is a veryveryveryvery veryveryveryveryveryvery long paragraph.</p>
</body>
</html>